package com.myzl.coal.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户订阅消息源对象 t_message_source_relation
 *
 * @author myzl
 * @date 2023-01-10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_message_source_relation")
public class MessageSourceRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @Excel(name = "主键自增")
    private Long id;

    /** 数据源id */
    @Excel(name = "数据源id")
    private Long messageSourceId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

}
